package cn.angleline.cloudhub.easbi

import cn.angleline.cloudhub.easbi.eas.entity.*
import cn.angleline.cloudhub.easbi.yzj.entity.DataSourceEntity
import org.springframework.data.jpa.repository.JpaSpecificationExecutor
import org.springframework.data.repository.CrudRepository
import org.springframework.data.repository.NoRepositoryBean
import org.springframework.stereotype.Repository
import java.io.Serializable

@NoRepositoryBean
interface QueryRepo<T, ID : Serializable> : JpaSpecificationExecutor<T>, CrudRepository<T, ID>

//费用类型
@Repository
interface TBcExpenseTypeRepo : QueryRepo<TBcExpenseType, String>

//付款单
@Repository
interface TCasPaymentBillRepo : QueryRepo<TCasPaymentBill, String>

//付款单分录
@Repository
interface TCasPaymentBillEntryRepo : QueryRepo<TCasPaymentBillEntry, String>

//付款类型
@Repository
interface TCasPaymentBillTypeRepo : QueryRepo<TCasPaymentBillType, String>

//收款单
@Repository
interface TCasReceivingBillRepo : QueryRepo<TCasReceivingBill, String>

//收款单分录
@Repository
interface TCasReceivingBillEntryRepo : QueryRepo<TCasReceivingBillEntry, String>

//收款类型
@Repository
interface TCasReceivingBillTypeRepo : QueryRepo<TCasReceivingBillType, String>

//资金预算表
@Repository
interface TBgBgFormRepo : QueryRepo<TBgBgForm, String>

//资金预算数据表
@Repository
interface TBgBgDataRepo : QueryRepo<TBgBgData, String>

//资金预算费数据对应的费用类型
@Repository
interface TBgBgCtrlRecordRepo : QueryRepo<TBgBgCtrlRecord, String>

//资金预算表对应的模板
@Repository
interface TBgBgTemplateRepo : QueryRepo<TBgBgTemplate, String>

//资金预算类型名称
@Repository
interface TBgBgItemRepo : QueryRepo<TBgBgItem, String>

//日报信息
@Repository
interface PaymentEntityRepo : QueryRepo<PaymentEntity, String>

//每个月的信息
@Repository
interface ReceivingEntityRepo : QueryRepo<ReceivingEntity, String>

//数据源
@Repository
interface DataSourceRepo : QueryRepo<DataSourceEntity, String>

//组织信息
@Repository
interface TOrgAdminRepo : QueryRepo<TOrgAdmin, String>

//所属集团
@Repository
interface TOrgBaseUnitRepo : QueryRepo<TOrgBaseUnit, String>

//支付方式
@Repository
interface TBdSettlementTypeRepo : QueryRepo<TBdSettlementType, String>

//支付银行
@Repository
interface TBdBankRepo : QueryRepo<TBdBank, String>

//银行卡号
@Repository
interface TBdAccountBankRepo : QueryRepo<TBdAccountBanks, String>

//借款单表
@Repository
interface TBcDailyLoanBillRepo : QueryRepo<TBcDailyLoanBill, String>

//借款单费用类型表
@Repository
interface TBcOperatorTypeRepo : QueryRepo<TBcOperationType, String>

//资金预算表
@Repository
interface BudgetDBRepo : QueryRepo<BudgetDB, String>

//收支汇总
@Repository
interface IncomeExpenseSummaryRepo : QueryRepo<IncomeExpenseSummary, String>

//付款单明细表
@Repository
interface PaymentDetailRepo : QueryRepo<PaymentDetail, String>

//付款单一级详情
@Repository
interface PaymentFirstDetailRepo : QueryRepo<PaymentFirstDetail, String>

//付款单二级明细表
@Repository
interface PaymentSecondDetailRepo : QueryRepo<PaymentSecondDetail, String>

//收款单明细表
@Repository
interface ReceivingDetailRepo : QueryRepo<ReceivingDetail, String>

//收款单汇总明细表
@Repository
interface ReceivingSummaryRepo : QueryRepo<ReceivingSummary, String>




